package com.usian.springsecuritydemo01;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@MapperScan("com.usian.springsecuritydemo01.mapper")
@SpringBootApplication
@EnableGlobalMethodSecurity(securedEnabled = true,prePostEnabled = true)
public class Springsecuritydemo01Application {

    public static void main(String[] args) {
        SpringApplication.run(Springsecuritydemo01Application.class, args);
    }

}
